package database;

public class OrderedLinkedListEntry<K, V> implements DictionaryEntry<K, V> {
	
	private K key;
	private V value;
	private OrderedLinkedListEntry<K, V> next;
	
	public OrderedLinkedListEntry(K ikey, V ival) {
		key = ikey;
		value = ival;
		
	}

	public K getKey() {
		return key;
	}

	public V getValue() {
		return value;
	}
	
	public void setValue(V ival){
		value = ival;
	}
	
	public OrderedLinkedListEntry<K, V> getNext(){
		return next;
	}
	
	public void setNext (OrderedLinkedListEntry<K, V> inext){
		next = inext;
	}
	
	

}
